package com.xdtech.jmax.model;

import java.io.Serializable;
import java.util.Date;
import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.xdtech.core.model.BaseModel;

/**
 * 
 * @author max.zheng
 * @create 2015-03-12 10:24:48
 * @since 1.0
 * @see 
 */
@Entity
@Table(name="JMAX_PAGE_VIEW")
public class PageView extends BaseModel implements Serializable{
	private static final long serialVersionUID = 1L;
	@Id
	@Column(name = "ID")
	@GeneratedValue(strategy = GenerationType.AUTO)
	private Long id;
	@Column(name="IP")
	private String ip;
	@Column(name="BROWSER")
	private String browser;
	@Column(name="BROWSER_TYPE")
	private String browserType;
	@Column(name="FORM_PAGE")
	private String formPage;
	@Column(name="ADDRESS")
	private String address;

	public void setId(Long id) {
		this.id = id;
	}
	public Long getId() {
		return id;
	}
	public void setIp(String ip) {
		this.ip = ip;
	}
	public String getIp() {
		return ip;
	}
	public void setBrowser(String browser) {
		this.browser = browser;
	}
	public String getBrowser() {
		return browser;
	}
	public String getBrowserType()
	{
		return browserType;
	}
	public void setBrowserType(String browserType)
	{
		this.browserType = browserType;
	}
	public String getFormPage()
	{
		return formPage;
	}
	public void setFormPage(String formPage)
	{
		this.formPage = formPage;
	}
	public String getAddress()
	{
		return address;
	}
	public void setAddress(String address)
	{
		this.address = address;
	}
	
}
